<html>
<head>
<title>Donate Book</title>
<meta name="layout" content="main"/>
</head>
<body>

<div id="newBook">


<p>
<g:form action="addBook" id="${params.id}">
<dl>
	<dt>Book Title:</dt> 
	<dd><g:textField id='addTitle' name="title" rows="1" cols="50" /></dd>
	<dt>Author:</dt>
	<dd><g:textField id='addAuthor' name="author" rows="1" cols="50"/></dd>
	<dt>Quantity</dt>
	<dd><g:textField id='addQuantity' name="quantity" rows="1" cols="50"/></dd>
	<dt>Description</dt>
	<dd><g:textArea id="addDescription" name="description" rows="7" cols="50"></g:textArea>
	<dt>ISBN</dt>
	<dd><g:textField id="addISBN" name="ISBN" rows="1" cols="50" /></dd>
	<dt>Minimum Grade Level</dt>
	<dd><g:select name="minGradeLevel" from="0123456"/>
	<dt>Maximum Grade Level</dt>
	<dd><g:select name="maxGradeLevel" from="0123456"/>
	<dt>Language</dt>
	<dd><g:textArea id="addLanguage" name="language" rows="1" cols="50" /></dd>
	<dt>Category</dt>
	<dd><g:select name="category" from="['General Leisure Reading', 'Reading Skills', 'Math Skills', 'Health', 'Science']"/>
	<dt>Ranking</dt>
	<dd><g:select name="ranking" from=" 123456"/>
	<g:hiddenField name="dateListed" value="${new Date()}"/>
</dl>
<g:submitButton name="post" value="Submit"/>
</g:form>
</p>
</div>


</body>
</html>
